package com.heima.utils.thread;

public class AdminThreadUtil {
    private static ThreadLocal<String> threadLocal = new ThreadLocal();


    public static void set(String userId){
        threadLocal.set(userId);
    }

    public static String get(){
        return threadLocal.get();
    }

    public static void clear(){
        threadLocal.remove();
    }
}
